package com.Alvin.Service;

import com.Alvin.Model.User;
import java.util.List;

public interface UserService {
    User findByUsername(String username);
    List<User> findAll();
    void save(User user);
    void update(User user);
    void delete(int id);
    boolean validateUser(String username, String password);
}